package com.mybatis_plus.demo.controller;


import com.mybatis_plus.demo.entity.Favorites;
import com.mybatis_plus.demo.service.IFavoritesService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;


/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lbb
 * @since 2018-10-16
 */
@Controller
@RequestMapping("/demo/favorites")
public class FavoritesController {


    @Resource
    private IFavoritesService iFavoritesService;


    @RequestMapping(value = "/getFavorites")
    public Favorites getFavorites(){


        iFavoritesService.selsetgetFavorites();


        return null;
    }
}

